import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        ArrayList<Integer> arrayList1 = new ArrayList<>();
        arrayList1.add(33);
        arrayList1.add(34);

        System.out.println(arrayList1);

        ArrayList<Integer> arrayList2 = new ArrayList<>();

        arrayList2.addAll(arrayList1);

        arrayList2.remove(Integer.valueOf(33));
        System.out.println(arrayList2);

        List<Integer> list = new ArrayList<>();
    }
}







